Hide the website button if the url is unset. (#157630, John Finlay)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 8 Nov 2004 19:14:23 +0000 (19:14 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 8 Nov 2004 19:14:23 +0000 (19:14 +0000)
2004-11-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
website button if the url is unset.  (#157630, John Finlay)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkaboutdialog.c

index 3d97f9cc123114bb0ee82bac2a4eec1b279225ca..b2115050ec1d1b18e2d6b4f3825eaa2b170900ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-11-08  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
+       website button if the url is unset.  (#157630, John Finlay)
+
        * gtk/gtkaboutdialog.[hc]: Change the return types of the 
        gchar ** getters to be more const correct.  (#157566, Mariano 
        Suárez-Alvarez)
index 3d97f9cc123114bb0ee82bac2a4eec1b279225ca..b2115050ec1d1b18e2d6b4f3825eaa2b170900ae 100644 (file)
@@ -1,5 +1,8 @@
 2004-11-08  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
+       website button if the url is unset.  (#157630, John Finlay)
+
        * gtk/gtkaboutdialog.[hc]: Change the return types of the 
        gchar ** getters to be more const correct.  (#157566, Mariano 
        Suárez-Alvarez)
index 3d97f9cc123114bb0ee82bac2a4eec1b279225ca..b2115050ec1d1b18e2d6b4f3825eaa2b170900ae 100644 (file)
@@ -1,5 +1,8 @@
 2004-11-08  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
+       website button if the url is unset.  (#157630, John Finlay)
+
        * gtk/gtkaboutdialog.[hc]: Change the return types of the 
        gchar ** getters to be more const correct.  (#157566, Mariano 
        Suárez-Alvarez)
index 3d97f9cc123114bb0ee82bac2a4eec1b279225ca..b2115050ec1d1b18e2d6b4f3825eaa2b170900ae 100644 (file)
@@ -1,5 +1,8 @@
 2004-11-08  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
+       website button if the url is unset.  (#157630, John Finlay)
+
        * gtk/gtkaboutdialog.[hc]: Change the return types of the 
        gchar ** getters to be more const correct.  (#157566, Mariano 
        Suárez-Alvarez)
index 769f190b62467190bd07e415841767c9a680f41e..2cdcdf29a32536e73cc229acd3337f07cf63983a 100644 (file)
@@ -1029,6 +1029,7 @@ gtk_about_dialog_set_website (GtkAboutDialog *about,
     {
       priv->website = NULL;
       g_object_set_data (G_OBJECT (priv->website_button), "url", NULL);
+      gtk_widget_hide (priv->website_button);
     }
   g_free (tmp);